package com.leyou.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;

/**
 * @Author 张伟奇
 * @Date 2021/7/11 21:25
 * @description
 * @Version 1.0
 **/
@SpringBootApplication
@EnableHystrix
@EnableDiscoveryClient
public class LyGateway {
    public static void main(String[] args) {
        SpringApplication.run(LyGateway.class);
        System.out.println("LyGateway run success!");
    }
}
